<template>
	<div class="app">
		<h1>我是App组件</h1>
		<Person 
			:name="name" 
			:sex="sex" 
			:age="age" 
		/>
	</div>
</template>

<script>
	import Person from './components/Person'

	export default {
		name:'App',
		components:{Person},
		data() {
			return {
				name:'强哥',
				sex:'男',
				age:18,
				hobby:['打游戏','抽烟','讲课'],
				cars:{
					c1:'奥迪',
					c2:'雅迪'
				}
			}
		},
	}
</script>

<style>
	.app{
		background-color: gray;
		padding: 20px;
	}
</style>